﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using SerialPortDal;

namespace SerialPortBll
{
    /// <summary>
    /// 分组
    /// </summary>
    public class WorkGroupBMO
    {
        public static int save(WorkGroup obj)
        {
            return WorkGroupDAO.save(obj);
        }

        public static List<WorkGroup> getAll()
        {
            return WorkGroupDAO.getAll();
        }

        public static WorkGroup selectObjByName(string groupName)
        {
            return WorkGroupDAO.selectObjByName(groupName);
        }
    }
}
